package com.example.covid.model;

import lombok.Data;

import java.util.Date;
@Data
public class sumdata {
    private Integer Sum;
    private Integer newcase;
    private Date date;

    public sumdata(Integer sum, Integer newcase, Date date) {
        this.Sum = sum;
        this.newcase = newcase;
        this.date = date;
    }

    public Date getDate() {
        return date;
    }

    public Integer getSum() {
        return Sum;
    }

    public Integer getNewcase() {
        return newcase;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public void setSum(Integer sum) {
        Sum = sum;
    }

    public void setNewcase(Integer newcase) {
        this.newcase = newcase;
    }
}
